package com.lxl.xm.service;

import com.lxl.xm.model.dto.student_user.StudentUserRegisterRequest;
import com.lxl.xm.model.entity.StudentUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 86135
* @description 针对表【student_user(学生用户表)】的数据库操作Service
* @createDate 2024-01-31 16:32:42
*/
public interface StudentUserService extends IService<StudentUser> {

    /**
     * 注册
     * @param studentUserRegisterRequest
     * @return
     */
    Long studentUserRegister(StudentUserRegisterRequest studentUserRegisterRequest);

    Boolean insertUserName(String studentNumber);

    Boolean insertStudentUser(String studentNumber,String userPassword);

    StudentUser login(String studentNumber,String studentPassword);

}
